import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import header from '@/components/Header'
Vue.component(header.name, header)
import footer from '@/components/Footer'
Vue.component(footer.name, footer)
import carousel from '@/components/Carousel'
Vue.component(carousel.name,carousel)
Vue.config.productionTip = false
Vue.use(ElementUI);
import "@/style/base.css";
new Vue({
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this
  },
  router,
  store

}).$mount('#app')
